<template>
	<!--单选-->
	<up-radio-group v-model="props.value" placement="row">
		<up-radio :customStyle="{marginBottom: '8px'}" v-for="(it, index) in props.initValue" :key="index"
			:label="it.label" :name="it.value">
		</up-radio>
	</up-radio-group>
</template>

<script setup>
	import {
		ref
	} from 'vue'
	const props = defineProps({
		initValue: {
			type: Array,
			default: []
		},
		value:{
			type: Number,
			default: ''
		}
	})
</script>

<style>
</style>